package br.com.clinica.supercao.service.impl;

import br.com.clinica.supercao.dao.AnimalDAO;
import br.com.clinica.supercao.dao.impl.AnimalDAOImpl;
import br.com.clinica.supercao.entity.Animal;
import br.com.clinica.supercao.entity.Pessoa;
import br.com.clinica.supercao.entity.filter.AnimalSearchFilter;
import br.com.clinica.supercao.entity.filter.PessoaSearchFilter;
import br.com.clinica.supercao.service.AnimalService;
import br.com.clinica.supercao.service.PessoaService;
import br.com.rpteixeira.service.AbstractEntityService;

public class AnimalServiceImpl extends
		AbstractEntityService<Animal, AnimalSearchFilter, AnimalDAO> implements
		AnimalService {

	@Override
	public AnimalDAO getEntityDAO() {
		return new AnimalDAOImpl();
	}
	public PessoaService<Pessoa, PessoaSearchFilter> getPessoaService(){
		return new PessoaServiceImpl();
	}
}
